package com.dandandog.framework.faces.config.properties;

import com.dandandog.framework.common.config.constant.FastCodeConstant;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "fast-code.page")
public class PageProperties {

    private String login = FastCodeConstant.PAGE_LOGIN + FastCodeConstant.PAGE_SUFFIX;

    private String loginFailed = FastCodeConstant.PAGE_LOGIN_FAILED + FastCodeConstant.PAGE_SUFFIX;

    private String index = FastCodeConstant.PAGE_INDEX + FastCodeConstant.PAGE_SUFFIX;

    private String error = FastCodeConstant.PAGE_ERROR + FastCodeConstant.PAGE_SUFFIX;

    private String access = FastCodeConstant.PAGE_ACCESS + FastCodeConstant.PAGE_SUFFIX;

    private String notFound = FastCodeConstant.PAGE_NOT_FOUND + FastCodeConstant.PAGE_SUFFIX;

    private String[] anonymous = new String[] {login, loginFailed, error, access, notFound};

    private String suffix = FastCodeConstant.PAGE_SUFFIX;

}
